
<div  xmlns:th="http://www.thymeleaf.org">
    <table class="table table-striped mt-3">
        <tr>
            <td>培训名称</td>
            <td>培训讲师</td>
            <td>培训时间</td>
            <td>培训反馈</td>
            <td>审核状态</td>
            <td>操作</td>
        </tr>
        <tr th:each="info:${pageInfo.list}" >
            <td th:text="${info.title}"></td>
            <td th:text="${info.lecturer}"></td>
            <td th:text="${info.startDate}"></td>
            <td th:text="${info.feedback}"></td>
            <td th:text="${info.audit}"></td>

            <!--起草 审核通过 未删除-->
            <td >
                <a th:if="${info.audit =='审核通过' }" th:href="@{/sys/train/update(id=${info.id},i=${2})}" >培训反馈</a>
                <a th:if="${ info.audit== '起草' }"  href="javascript:;"  th:onclick="'javascript:del('+${info.id}+');'" >删除</a>
                <a th:if="${ info.audit== '起草' }"  th:href="@{/sys/train/update(id=${info.id},i=${0})}" >修改</a>
                <a th:if="${info.audit !='审核通过'  }" th:href="@{/sys/train/update(id=${info.id},i=${1})}" >审核</a>
            </td>
        </tr>
    </table>
    <div th:replace="common/comm :: #page ">
    </div>
</div>

